<!DOCTYPE html>
<html>
<head>
	<title><?php echo ViewData['title']; ?></title>
</head>
<body>
<?php 
foreach(ViewData['list'] as $item=>$data){
	echo "<h1>产品编码: $item 产品名称: $data[productName] 单价: $data[price]</h1>";
}
?>
</body>
</html>